export const dataResponse = (data = null) => ({
  code: '000000',
  correlationId: null,
  data,
  msg: 'success',
  occurredAt: '2023-03-01 10:07:00 932',
  result: true,
  service: '',
  traceId: 'kbVJtDCO-HJ9p-xu2N-1677636420540'
})
export const listResponse = (list = []) => ({
  code: '000000',
  correlationId: null,
  data: {
    endRow: '0',
    hasNextPage: false,
    hasPreviousPage: false,
    isFirstPage: true,
    isLastPage: true,
    list,
    navigateFirstPage: 0,
    navigateLastPage: 0,
    navigatePages: 8,
    navigatepageNums: [],
    nextPage: 0,
    pageNum: 1,
    pageSize: 15,
    pages: 0,
    prePage: 0,
    size: 0,
    startRow: '0',
    total: '0'
  },
  msg: 'success',
  occurredAt: '2023-03-01 10:07:00 932',
  result: true,
  service: '',
  traceId: 'kbVJtDCO-HJ9p-xu2N-1677636420540'
})
